<template>
  <page-body>
    <view class="page">
      <view class="flex benben-position-layout flex flex-wrap align-center kefu_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub kefu_fd0_0'>
          <view class='flex flex-wrap align-center kefu_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  kefu_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='kefu_fd0_0_c1_c0'>联系我们</text>
          </view>
          <view class='flex flex-wrap align-center justify-end kefu_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap padding-sm align-center">
        <jyf-parser v-html="info.company_desc" class='kefu_fd1_0'>
        </jyf-parser>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction align-stretch benben-flex-layout kefu_flex_2">
        <view class='flex flex-wrap align-center kefu_fd2_0' @click.stop="callPhone">
          <button class='kefu_fd2_0_c0'>拨打电话</button>
        </view>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </page-body>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        info: ''
      };
    },
    computed: {

    },
    watch: {},
    onLoad(options) {
      this.getData()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      callPhone() {
        uni.makePhoneCall({
          phoneNumber: this.info.tel
        })
      },
      getData() {
        this.$api.post(global.apiUrls.post668cdf2fd1873, {}).then(res => {
          if (res.data.code == 1) {
            this.info = res.data.data
          }
        })
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: var(--benbenbgColor1);
    background-size: 100% auto;
  }

  .kefu_flex_0 {
    border-bottom: 1px solid #eee;
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .kefu_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333;
    line-height: 88rpx;
  }

  .kefu_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .kefu_fd0_0_c0 {
    width: 120rpx;
  }

  .kefu_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  ::v-deep .kefu_fd1_0 {
    width: 100%;
  }

  .kefu_flex_2 {
    padding: 100rpx 0rpx 0rpx 0rpx;
  }

  .kefu_fd2_0_c0 {
    background: var(--benbenbgColor2);
    border-radius: 44rpx;
    width: 510rpx;
    line-height: 88rpx;
    font-size: 32rpx;
    color: #fff;
    margin: 0rpx auto 0rpx auto;
  }

  .kefu_fd2_0 {
    margin: 0rpx 0rpx 0rpx 0rpx;
    position: fixed;
    bottom: calc(80rpx + var(--window-bottom));
    left: 15%;
  }
</style>
